<%@ page import="cn.tedu.web.stm.JdbcUtils" %>
<%@ page import="cn.tedu.web.stm.homework.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--
  Created by IntelliJ IDEA.
  User: 10387
  Date: 2021/12/14
  Time: 9:49
  To change this template use File | Settings | File Templates.
--%>
<%
    String id = session.getAttribute("UID").toString();
    String sql = "SELECT `name` FROM `user` WHERE id="+id;
    User select = JdbcUtils.select(sql, User.class);
%>
<header>
    <div class="header-logo">
        <a href="index.jsp"><img src="assets/img/01c3db5c6ffc3da801213f260f7b1d.jpg@1280w_1l_2o_100sh.jpg" /></a>
    </div>
    <div class="header-title">alita实训项目</div>
    <div class="header-people">
            <span class="header-people-name">
                <b><%=select.getName()%></b> <i class="fa fa-chevron-left"></i>
            </span>
        <div class="header-people-menu">
            <a href="resume.jsp">个人信息</a>
            <a href="login.jsp">注销</a>
        </div>
    </div>
<%--    <script>--%>
<%--        function cl() {--%>
<%--                --%>
<%--        }--%>
<%--    </script>--%>
</header>
